package Coffee.service;

import Coffee.bean.Coffee;

import java.util.List;

public interface CoffeeService {
    int insertCoffee(Coffee coffee);//添加
    int delbyname(String cofname);//删除饮品
    Coffee selectbyname(String cofname);//查询
    int updateCofbyname(String cofname,int cofprice,String state);//修改价格或者状态
    List<Coffee> selectlikaname(String cofname);//模糊查询
    List<Coffee> selectAll();//查询所有
}
